﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ChinaSoft.BLL.Common
{
    public class SerialNumber
    {
        private readonly ChinaSoft.DAL.Common.SerialNumber dal = new ChinaSoft.DAL.Common.SerialNumber();
        /// <summary>
        /// 
        /// </summary>
        /// <param name="TableName">表名</param>
        /// <param name="SNID">要生成的流水号的字段名</param>
        /// <param name="QianZhui">流水号的前缀</param>
        /// <param name="Numberlength">流水号后面数字的长度</param>
        /// <returns></returns>
        public string GetSerialNumber(string TableName, string SNID, string QianZhui, int Numberlength)
        {
            return dal.GetSerialNumber(TableName, SNID, QianZhui, Numberlength);
        }
    }
}
